<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        const str='hellow laow !';
        const s1=str.startsWith('hel');
        const s2=str.endsWith('!');
        console.log(s1,s2);



        //---------------------repeat()--------------------------------
        console.log('xb'.repeat(5));
    </script>
</body>
</html>